<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>管理界面</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/css/roleManagement.css">
    <script src="${pageContext.request.contextPath}/static/jquery/jquery-3.1.1.js"></script>
    <script src="${pageContext.request.contextPath}/static/jquery/jquery.validate.js"></script>
</head>
<body>
<div class="pageall">
    <img class="backph" style="width:100%;height:100%;" src="${pageContext.request.contextPath}/static/images/mao14.jpg"/>
    <div class="backphall">
            <div class="titleall">
                <div class="backphsmall">
                    <img src="${pageContext.request.contextPath}/static/images/house.png" style="width:100%;height:100%;"/>
                </div>
                <div class="titleword">首页 >> 角色管理</div>
            </div>
            <div class="add">+ 新增</div>
            <input class="modify" value="修改" type="submit"/>
            <input class="delete" value="删除" type="submit"/>
            <div class="contentall"></div>
    </div>
    <div class="showmessages">
        <table border="1">
            <tr>
                <th style="width: 60px;"><input type="checkbox"></th>
                <th>管理员ID</th>
                <th>管理员账号</th>
                <th>姓名</th>
                <th>电话</th>
                <th>状态</th>
                <th>创建时间</th>
            </tr>
            <c:forEach items="${requestScope.admin}" var="o">
                <tr>
                    <th style="width: 60px;"><input type="checkbox"></th>
                    <td>${o.getAdmin_id()}</td>
                    <td>${o.getAdmin_username()}</td>
                    <td>${o.getAdmin_name()}</td>
                    <td>${o.getAdmin_phone()}</td>
                    <td>${o.getAdmin_status()}</td>
                    <td>${o.getAdmin_createtime()}</td>
                </tr>
            </c:forEach>
        </table>
    </div>
</div>
</body>

</html>